package name.jiaosha.air.system.domain;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ali8ba.Domain;
/**
 * 功能表
 * @author xu
 *
 */
@Entity
@Table(name="sys_function")
public class SysFunction extends Domain {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2147807757127145074L;
	
	private Integer id;
	/**
	 * 功能　制冷；制热;..
	 */
	private String name;
	
	private String pinyin;

	public SysFunction(){
		
		
	}
	@Id
	@Column(name = "id", unique = true, nullable = false, precision = 11)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Basic()
	@Column(name = "name", length = 10)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	@Basic()
	@Column(name = "pinyin", length = 10)
	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	
	

}
